#pragma once

#ifdef __cplusplus
extern "C" {
#endif

void writePPMbinaryImage(const char * filename, const float * data,
                         unsigned int width, unsigned int height, unsigned int stride,
                         float min, float max);

void writePGMASCIIImage(const char * filename, const float * data,
                        unsigned int width, unsigned int height, unsigned int stride,
                        float min, float max);

#ifdef __cplusplus
}
#endif
